// 导出路由规则
import Layout from '@/layout'
export default {
  path: '/member', // 路径
  name: 'member', // 给路由规则加名字
  component: Layout, // 组件
  redirect: '/member',
  meta: {
    title: '用户管理',
    icon: 'peoples'
  },
  // 配置二级路由表
  children: [{
    path: 'memberUser',
    name: 'memberUser',
    component: () => import('@/views/member/memberUser'),
    meta: { title: '会员管理', noCache: true }
  }, {
    path: 'level',
    name: 'level',
    component: () => import('@/views/member/level'),
    meta: { title: '会员等级', noCache: true }
  }, {
    path: 'administrators',
    name: 'administrators',
    component: () => import('@/views/member/administrators'),
    meta: { title: '管理员设置', noCache: true }
  }, {
    path: 'roleManagement',
    name: 'roleManagement',
    component: () => import('@/views/member/roleManagement'),
    meta: { title: '角色管理', noCache: true }
  }, {
    path: 'permission',
    name: 'permission',
    component: () => import('@/views/member/permission'),
    meta: { title: '权限管理', noCache: true }
  }]
}
